package com.df.my_net_game.game_rpc.req;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NonNull;

/**
 * rpc请求
 */
@Data
@AllArgsConstructor
@NonNull
public class GRpcReq {
//    private Integer reqUnionId;
//    private Integer cmdId;
//    private Integer clientIp;//
//    private Integer clientType;//客户端类型 0玩家客户端 1serverNode客户端
    //length(4)+header[cmdId(4)+reqUnionId(4)+clientType(1)+clientIp(4)+]+body[]
    private GRpcReqHeader header;
    private Object body;
}
